package com.letoken.platform.repo.app.req.mall;

import com.letoken.platform.pub.annotation.content.ContentCheck;
import com.letoken.platform.pub.annotation.content.ContentEnum;
import com.letoken.platform.pub.annotation.sms.SpecifyMatch;
import com.letoken.platform.pub.req.QueryReqBase;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;
import java.io.Serializable;
import java.math.BigDecimal;

@Data
@ApiModel(value = "附近商家列表请求对象", description = "附近商家列表请求对象")
public class NearbyShopsReq implements Serializable {



    @ApiModelProperty("用户当前经度")
    @NotNull(message = "80000007")
    private BigDecimal longitude;


    @ApiModelProperty("用户当前纬度")
    @NotNull(message = "80000007")
    private BigDecimal latitude;


    @ApiModelProperty("距离")
    @NotNull(message = "80000007")
    private Integer distance;

    @ApiModelProperty("一级分类")
    private Integer oneCategory;

    @ApiModelProperty("二级分类")
    private Integer twoCategory;


}
